//
//  AppDelegate.m
//  WallpaperHdLib
//
//  Created by 9haomi on 2021/2/27.
//

#import "AppDelegate.h"
#import "HomeVideoPlayViewController.h"

#import "ExampleTableViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    
    [UIApplication sharedApplication].statusBarHidden = YES;
    
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    UINavigationController* navigationController;
    
    if (1) {
        navigationController = [[UINavigationController alloc] initWithRootViewController:[[ExampleTableViewController alloc]init]];
    }else {
        navigationController = [[UINavigationController alloc] initWithRootViewController:[[HomeVideoPlayViewController alloc]init]];
    }
    
    [self.window setRootViewController:navigationController];
    [self.window makeKeyAndVisible];
    return YES;
}


@end
